package com.vvv.designpattern.ordermanagement.audit;

import org.springframework.stereotype.Component;

import java.util.HashMap;
import java.util.Map;

/**
 * @author vvv
 * @date 2023-11-26 15 08
 * discription
 */
@Component
public class ReceiveOrderLog extends AbstractAuditLogProcessor{

    @Override
    protected OrderAuditLog buildDetails(OrderAuditLog orderAuditLog, Map<String, Object> details) {
        orderAuditLog.setDetails(details);
        return orderAuditLog;
    }
}
